<?php
namespace app\admin\validate;


use think\Validate;

class EditMenu extends Validate
{
    protected $rule = [
        'id'    =>  'require',
        'name'  =>  'require',
        'link'  =>  'require',
    ];

    protected $message = [
        'id.requires'   =>  'ID必须填写',
        'name.require'  =>  '名称必须填写',
        'link.require'  =>  '链接必须填写',
    ];
}